﻿#ifndef LEFTDOCKWINDOW_H
#define LEFTDOCKWINDOW_H
#include <QWidget>
#include <Don_tModify/stackwindow.h>
#include<QPropertyAnimation>
#include<QTimer>
#include<Don_tModify/mousefilter.h>
#include<Don_tModify/missionplanningbutton.h>
#include<Don_tModify/identificationbutton.h>
#include<Don_tModify/targetplottingbutton.h>
#include<Don_tModify/detection.h>
class LeftDockWindow : public StackWindow
{
    Q_OBJECT
public:
    QPushButton *leftSideButton;
    MouseFilter *mouseFilter;
    TargetPlottingButton *plottingButton;
    IdentificationButton *identiButton;
    MissionPlanningButton *missionButton;
    DetectionButton *detectionButton;
    void leftSideButtonClicked();
    void slotMoveWidget();
    void changeLeftButtonStyle(bool isShowSide);
    explicit LeftDockWindow(QWidget *parent,const Qt::AlignmentFlag &v_alignment,const Qt::AlignmentFlag &h_alignment,const QPoint &pos);

signals:
    void startPlot();
    void unrestore();
private:
    bool isShow;
    bool plottingbtnClick;
    bool identificationbtnClick;
    bool planningbtnClick;
    bool detectionbtnClick;
    QPropertyAnimation *anim1;
    QPropertyAnimation *anim2;

public slots:

    
};

#endif // LEFTDOCKWINDOW_H
